#pragma once

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>


struct Console {

  static int run (const char* cmd, ...) noexcept {
    char buf[4096];
    va_list args;
    va_start(args, cmd);
    vsprintf(buf, cmd, args);
    va_end(args);
    return system(buf);
  }
};